#ifndef	_LCD_TASKS_H_
#define _LCD_TASKS_H_

//#define  _LCD_

#ifdef   _LCD_
#include "lcd.h"
#define		INIT_LCD()		lcd_init()
#define  	HOME_LCD() 		lcd_gotoxy(0,0)//lcd_clear()
#define		PUT_CHAR_LCD(c) lcd_putChar(c)
#define		MOVE_LCD(x,y)	lcd_gotoxy(x,y) //(2,0) dau dong 2
#else
#include 	"myLCD.h"
#define		INIT_LCD()		init_LCD() 
#define  	HOME_LCD() 		home_LCD()//clr_LCD() 
#define		PUT_CHAR_LCD(c) put_char_LCD(c)
#define		MOVE_LCD(x,y)   move_LCD(x,y)
#endif
void vStartLCDTasks( unsigned portBASE_TYPE uxPriority);
signed portBASE_TYPE xPrintNumLCD(unsigned char position,long OutNum,unsigned char length, portTickType xBlockTime); //position 0->31
signed portBASE_TYPE xPrintStrLCD(unsigned char position,char* OutString, portTickType xBlockTime);

#endif // _LCD_TASKS_H_